package cn.javabb.core.mapper.blog;

import cn.javabb.core.base.BaseMapper;
import cn.javabb.core.entity.blog.BlogDO;
import cn.javabb.core.model.biz.PublishDateModel;
import cn.javabb.core.query.BlogQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @desc:
 * @author: javabb (javabob(a)163.com)
 * @create: 2019/12/01 18:16
 */
public interface BlogMapper extends BaseMapper<BlogDO> {

    public List<BlogDO> list(BlogQuery query);

    public BlogDO get(@Param("blogId") Integer blogId);

    public List<PublishDateModel> listByPublishDate();
}
